package com.example.rx3demo.test1;

import io.reactivex.rxjava3.core.Flowable;

/**
 * @Author: zhangQi
 * @Date: 2020-10-06 22:07
 */
public class HowToRxJava {

    public static void hello(String... args){
        Flowable.fromArray(args).subscribe(s-> System.out.println("hello~"+s+"!"));
    }

    public static void main(String[] args) {
        hello("G","Liu");
    }
}
